package com.shicijiaoliu.service;

import com.shicijiaoliu.pojo.Shicitabel;

import java.util.List;

public interface Shiciservice {

    int  getcount(String title,String dynasty,String subject,String author);
    void useraddshici(Shicitabel shici);

    Shicitabel findByparagraphs(String paragraphs);

    List<Shicitabel> findshiciBypage(int pagecount, int pagenumber,String title,String dynasty,String subject,String author);

    void updateshici(Shicitabel shici);

    void delByid(long idS);

    Shicitabel findByid(long idS);

    Shicitabel findBytitle(String title);

    List<Shicitabel> findBytitle2(String title);

    List<Shicitabel> findByname2(String title);
    List<Shicitabel> findBycontent2(String title);

}
